/* pkgPublish/pages/subjectDetail/index.wxss */
.container {
  background-color: #f5f5f5;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 140rpx 20rpx 0;
  .header {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 140rpx;
    padding: 0 36rpx;
    background-color: #fff;
    &-title {
      font-size: var(--utopia_big-size);
      font-weight: 700;
      margin-top: 30rpx;
    }
  }
  .overview {
    height: 220rpx;
    margin-top: 10rpx;
    padding: 20rpx 20rpx;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 8rpx;
    &-title {
      font-size: var(--utopia_middle-size);
    }
    &-info {
      display: flex;
      justify-content: space-between;
      margin-top: 50rpx;
      text-align: center;
      padding: 0 20rpx;
      font-size: var(--utopia_small-size);
      color: var(--utopia_font-normal);
      .bold {
        display: inline-block;
        color: #000000;
        font-size: var(--utopia_middle-size);
      }
    }
  }
  .charts {
    margin-top: 20rpx;
    height: 230rpx;
    background-color: #fff;
    border-radius: 8rpx;
    &-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20rpx 20rpx 0;
      font-size: var(--utopia_mini-size);
      color: var(--utopia_font-normal);
      box-sizing: border-box;
      .left-text {
        font-size: var(--utopia_middle-size);
        color: #3d3d3d;
      }
    }
    &-contribution {
      margin-top: 40rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      .top-one {
        position: relative;
        z-index: 10;
        height: 110rpx;
        width: 110rpx;
        padding: 3rpx;
        box-sizing: border-box;
        border: 2rpx solid #ffcb01;
        border-radius: 50%;
        &-image {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
        .crown {
          position: absolute;
          top: -35rpx;
          left: -30rpx;
          width: 80rpx;
          height: 60rpx;
        }
      }
      .top-two {
        position: relative;
        z-index: 9;
        height: 100rpx;
        width: 100rpx;
        padding: 3rpx;
        margin-left: -10rpx;
        box-sizing: border-box;
        border: 2rpx solid #d9d9d9;
        border-radius: 50%;
        &-image {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
        .crown {
          position: absolute;
          top: -28rpx;
          left: -20rpx;
          width: 65rpx;
          height: 50rpx;
        }
      }
      .top-three {
        position: relative;
        z-index: 8;
        height: 90rpx;
        width: 90rpx;
        padding: 3rpx;
        margin-left: -10rpx;
        box-sizing: border-box;
        border: 2rpx solid #efac4f;
        border-radius: 50%;
        &-image {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
        .crown {
          position: absolute;
          top: -25rpx;
          left: -15rpx;
          width: 50rpx;
          height: 45rpx;
        }
      }
      .top {
        position: relative;
        height: 82rpx;
        width: 82rpx;
        margin-left: -10rpx;
        &-image {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
    }
    &-contribution-empty {
      display: flex;
      justify-content: center;
      padding: 60rpx;
      font-size: 26rpx;
      color: #7d7c7c;
    }
  }
  .illustrate {
    padding: 8rpx 0;
    font-size: var(--utopia_small-size);
    color: #b2b2b2;
    text-align: center;
  }
}
